Skip to content

embed: Use youtube-nocookie.com #114

Merged
merged 1 commit into from
Mar 25, 2021
Merged

embed: Use youtube-nocookie.com #114

merged 1 commit into from
Mar 25, 2021

Conversation

donald
Copy link
Member

@donald donald commented Mar 25, 2021

YouTube supports embedding videos with "privacy enhanced mode" 1.
This is done by using https://www.youtube-nocookie.com/embed instead of
https://www.youtube.com/embed.

Override wagtails oembed finder to fixup the url we've got from YouTubes
oEmbed API.

We still load external content and need to trust Google, but it could be
verified, that no tracking cookies are sent around. This is even true,
when the video is actually played.

YouTube supports embedding videos with "privacy enhanced mode" [1].
This is done by using https://www.youtube-nocookie.com/embed instead of
https://www.youtube.com/embed.

Override wagtails oembed finder to fixup the url we've got from YouTubes
oEmbed API.

We still load external content and need to trust Google, but it could be
verified, that no tracking cookies are sent around. This is even true,
when the video is actually played.

[1]: https://support.google.com/youtube/answer/171780
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant